		<div id="sidebar">

<?php if ( !function_exists('dynamic_sidebar')
        || !dynamic_sidebar() ) : ?>

			<h4>Categories</h4>
			<div class="navigate">
			   <ul>
				<?php wp_list_cats('sort_column=name&&hierarchical=1'); ?>
			  </ul>
			</div>

			<h4>Archives</h4>
			<div class="navigate">
			  <ul>
				<?php wp_get_archives('type=monthly'); ?>
			  </ul>
			</div>

			<h4>Blogroll</h4>
			<div class="navigate">
			  <ul>
				<?php get_linksbyname('Blogroll', '<li>', '</li>', '', FALSE, 
'rand', FALSE, FALSE, 10); ?>
			  </ul>
			</div>
<?php endif; ?>
			<div class="navigate">
<script type="text/javascript"><!--
google_ad_client = "<?php google_pub_id();?>";
google_ad_width = 180;
google_ad_height = 150;
google_ad_format = "180x150_as";
google_color_border = "000000";
google_color_bg = "000000";
google_color_link = "cccccc";
google_color_url = "cccccc";
google_color_text = "cccccc";
//--></script>

<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script type="text/javascript"><!--
google_ad_client = "<?php google_pub_id();?>";
google_ad_width = 180;
google_ad_height = 150;
google_ad_format = "180x150_as";
google_color_border = "000000";
google_color_bg = "000000";
google_color_link = "cccccc";
google_color_url = "cccccc";
google_color_text = "cccccc";
//--></script>

<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
			</div>
		</div>